import 'package:get/get_navigation/src/routes/get_route.dart';

import '../config/router_page_name.dart';
import '../pages/splash/view.dart';
import '../pages/auth/login/view.dart';
import '../pages/auth/register/view.dart';
import '../pages/main/view.dart';
import '../pages/information/detail/view.dart';
import '../pages/information/add/view.dart';
import '../pages/shop/detail/view.dart';
import '../pages/shop/add/view.dart';
import '../pages/order/detail/view.dart';
import '../pages/banner/manage/view.dart';
import '../pages/banner/add/view.dart';

class RouterPages {
  static List<GetPage> getTeacherPages = <GetPage>[
    ///启动页
    GetPage(name: RouterPageName.splashPage, page: () => SplashPage()),

    ///登录页
    GetPage(name: RouterPageName.loginPage, page: () => LoginPage()),

    ///注册页
    GetPage(name: RouterPageName.registerPage, page: () => RegisterPage()),

    ///主页
    GetPage(name: RouterPageName.mainPage, page: () => MainPage()),

    ///信息详情页
    GetPage(name: RouterPageName.informationDetailPage, page: () => InformationDetailPage()),

    ///添加信息页
    GetPage(name: RouterPageName.addInformationPage, page: () => AddInformationPage()),

    ///商品详情页
    GetPage(name: RouterPageName.productDetailPage, page: () => const ProductDetailPage()),

    ///添加商品页
    GetPage(name: RouterPageName.addProductPage, page: () => AddProductPage()),

    ///订单详情页
    GetPage(name: RouterPageName.orderDetailPage, page: () => OrderDetailPage()),

    ///管理轮播图页
    GetPage(name: RouterPageName.manageBannersPage, page: () => ManageBannersPage()),

    ///添加轮播图页
    GetPage(name: RouterPageName.addBannerPage, page: () => AddBannerPage()),
  ];
}